package DARCOShared.requests;

public class CreateAccountRequest implements RequestBase, java.io.Serializable {
	private static final long serialVersionUID = 1L;
	public String user;
	public String name;
	public String surname;
	public String email;
	public String password;
	public byte[] avatar;

	public CreateAccountRequest(){}
	public CreateAccountRequest(String user,String email, String password, String name,String surname,byte[] avatar){
		this.user=user.replaceAll("\\s","");
		this.name=name;
		this.surname=surname;
		this.email=email.replaceAll("\\s","");
		this.password=password;
		this.avatar=avatar;
		

	}		
	
	
	@Override
	public RequestType getRequestType() {
		return RequestType.CreateAccount;
	}
}
